import java.net.URL;

import org.junit.Test;
import org.springframework.context.annotation.ComponentScan.Filter;


public class test {
	@Test  
	public void get(){  
	    URL url = Filter.class.getProtectionDomain().getCodeSource().getLocation();  
	    System.out.println("path:"+url.getPath()+"  name:"+url.getFile());  
	}
}
